package com.rchat.pocmini.bean;

import com.aso.common.http.bean.BaseBean;

import java.util.List;

/**
 * Created by ljd on 2017/7/31.
 *
 */

public class SearchGroupBean extends BaseBean{
    /**
     * data : {"groups":{"group":[{"groupId":"C19423","groupName":"gg","userName":"111110000016"},{"groupId":"C19462","groupName":"123","userName":"111110000024"},{"groupId":"C19463","groupName":"1123","userName":"111110000025"},{"groupId":"C19510","groupName":"123","userName":"111110000012"},{"groupId":"C19523","groupName":"9","userName":"111110000001"},{"groupId":"C19538","groupName":"1234567890","userName":"111110000020"},{"groupId":"C19689","groupName":"123","userName":"111110000020"},{"groupId":"C19723","groupName":"c19733","userName":"111110000050"},{"groupId":"C20017","groupName":"123","userName":"111110000021"},{"groupId":"C20086","groupName":"123","userName":"111110000093"},{"groupId":"C20094","groupName":"123","userName":"111110000091"},{"groupId":"C20234","groupName":"fgggg","userName":"111110000016"},{"groupId":"C20235","groupName":"饿得","userName":"111110000008"},{"groupId":"C20324","groupName":"123456","userName":"111110000041"}]}}
     */

    private DataBean data;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * groups : {"group":[{"groupId":"C19423","groupName":"gg","userName":"111110000016"},{"groupId":"C19462","groupName":"123","userName":"111110000024"},{"groupId":"C19463","groupName":"1123","userName":"111110000025"},{"groupId":"C19510","groupName":"123","userName":"111110000012"},{"groupId":"C19523","groupName":"9","userName":"111110000001"},{"groupId":"C19538","groupName":"1234567890","userName":"111110000020"},{"groupId":"C19689","groupName":"123","userName":"111110000020"},{"groupId":"C19723","groupName":"c19733","userName":"111110000050"},{"groupId":"C20017","groupName":"123","userName":"111110000021"},{"groupId":"C20086","groupName":"123","userName":"111110000093"},{"groupId":"C20094","groupName":"123","userName":"111110000091"},{"groupId":"C20234","groupName":"fgggg","userName":"111110000016"},{"groupId":"C20235","groupName":"饿得","userName":"111110000008"},{"groupId":"C20324","groupName":"123456","userName":"111110000041"}]}
         */

        private GroupsBean groups;

        public GroupsBean getGroups() {
            return groups;
        }

        public void setGroups(GroupsBean groups) {
            this.groups = groups;
        }

        public static class GroupsBean {
            private List<GroupBean> group;

            public List<GroupBean> getGroup() {
                return group;
            }

            public void setGroup(List<GroupBean> group) {
                this.group = group;
            }

            public static class GroupBean {
                /**
                 * groupId : C19423
                 * groupName : gg
                 * userName : 111110000016
                 */
                private boolean isApply = false;
                private String groupId;
                private String groupName;
                private String userName;

                public boolean isApply(){
                    return isApply;
                }

                public void setApply(boolean isApply){
                    this.isApply = isApply;
                }

                public String getGroupId() {
                    return groupId;
                }

                public void setGroupId(String groupId) {
                    this.groupId = groupId;
                }

                public String getGroupName() {
                    return groupName;
                }

                public void setGroupName(String groupName) {
                    this.groupName = groupName;
                }

                public String getUserName() {
                    return userName;
                }

                public void setUserName(String userName) {
                    this.userName = userName;
                }
            }
        }
    }
}
